﻿using SqlSugar;

namespace Model.Entity
{
    public class RouteBtRoleEntity : BaseEntity
    {
        [SugarColumn(IsNullable = false, ColumnDescription = "角色Id")]
        public int RoleId { set; get; }

        [SugarColumn(IsNullable = false, ColumnDescription = "路由Id")]
        public int RouteId { set; get; }


        [Navigate(NavigateType.OneToOne, nameof(RouteId))]
        public RouteEntity RouteInfo { get; set; }
    }
}
